package com.frejoys.common.vo.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class UserWalletLogDetailsVo {

    @Schema(type = "Integer", name = "id", description = "id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "BigDecimal", name = "money", description = "消费金额", required = true, defaultValue = "1")
    private BigDecimal money;

    @Schema(type = "Long", name = "drawSn", description = "根据类型不同：1.订单编号", required = true, defaultValue = "1")
    private Long drawSn;

    @Schema(type = "Integer", name = "type", description = "类型：1.用户下单，2.转换积分，3.兑换积分，5.订单返利，6.推广返利，7.推荐返利，8.代理返利，18.用户提现", required = true, defaultValue = "1")
    private Integer type;

    @Schema(type = "BigDecimal", name = "cashMoney", description = "提现时，填入相同提现金额，用于扣除", required = true, defaultValue = "1")
    private BigDecimal cashMoney;

    @Schema(type = "Integer", name = "createTime", description = "创建时间", required = true, defaultValue = "1")
    private Integer createTime;

    @Schema(type = "Integer", name = "status", description = "状态(用户提现时：0为申请，1为提现成功)：0等待，1.有效", required = true, defaultValue = "1")
    private Integer status;

    @Schema(type = "String", name = "storeName", description = "店铺名字", required = true, defaultValue = "好享免")
    private String storeName;
}
